package cn.kpi.dao.usualassessment;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.kpi.common.persistence.MyBatisDao;
import cn.kpi.entity.usualassessment.UsAssTempCreateIndexEntity;
import cn.kpi.entity.usualassessment.UserAndTempEntity;
import cn.kpi.entity.usualassessment.UserTemplateEntity;
import cn.kpi.entity.usualassessment.UserUsAssTempEntity;

@MyBatisDao
public interface UserUsAssTempDao {
public List<UserUsAssTempEntity> GetUserUsAssTempListByWhere(@Param("where") String where)throws Exception;
public int GetUserUsAssTempListCountByWhere(@Param("where") String where)throws Exception;
public int InsertBatchEntity(List<UserTemplateEntity> list)throws Exception;
public int UpdateBatchEntity(List<UserTemplateEntity> list)throws Exception;

public UserTemplateEntity GetUserUsAssTempById(@Param("userid")Long userid)throws Exception;

public List<UserAndTempEntity> GetUserTempListByWhere(@Param("where") String where)throws Exception;

public List<Map> GetUserTempOrgSummaryList()throws Exception;
public List<Map>  GetUserTempOrgSummaryListByWhere(@Param("where") String where)throws Exception;
}
